package jspservlet.servlet;

import java.io.IOException;
import java.util.ArrayList;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import jspservlet.dao.UserDAO;
import jspservlet.dao.impl.UserDAOImpl;
import jspservlet.vo.User;

public class ShowConditionServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse res)
			throws IOException, ServletException{
	}
	public void doPost(HttpServletRequest req, HttpServletResponse res)
		    throws IOException, ServletException{
		
				UserDAO dao = new UserDAOImpl();
		HttpSession session=req.getSession();
		String username = (String)session.getAttribute("username");
		try {
			int flag= dao.showCondition(username);
		}catch(Exception e) {
			e.printStackTrace();
		}
	}

}
